import java.util.Random;
public class HelloJava {
	public static void main(String arg[])
	{
		Random dice = new Random();
		int number;
		for(int counter=1;counter<=10;counter++)
		{
			number = dice.nextInt(6);
			//Random 1 so trong khoang tu 0-5
			System.out.println(number + " ");
		}
		
	}	
}
